package com.wsjzzcbq.qianyuan.sys.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * Icon
 *
 * @author wsjz
 * @date 2022/03/21
 */
@TableName("q_icon")
@Data
public class Icon {

    @TableId
    private Long id;

    /**
     * icon值
     */
    private String icon;

    /**
     * icon分类
     */
    private Integer type;

    @JsonSerialize(using= ToStringSerializer.class)
    public Long getId() {
        return id;
    }
}
